<?php
include 'my-config.php';
global $wpdb;
$dvmi = $wpdb->get_results( "SELECT post_content FROM $wpdb->posts WHERE id=$dich_vu_may_in_post_id AND post_status='publish'" );
$dss  = $wpdb->get_results( "SELECT post_content FROM $wpdb->posts WHERE id=$danh_sach_shop_post_id AND post_status='publish'" );
if($dvmi || $dss):
?>
<div class="dich-vu">
   <?php if($dvmi): ?>
   <div class="dich-vu-may-in">
      <?php
      echo $dvmi[0]->post_content;
      edit_post_link('Edit', '<p class="edit-page">', '</p>', $dich_vu_may_in_post_id);
      ?>
   </div>
   <?php endif ?>
   <?php if($dss): ?>
   <div class="danh-sach-shop">
      <?php
      echo $dss[0]->post_content;
      edit_post_link('Edit', '<p class="edit-page">', '</p>', $danh_sach_shop_post_id);
      ?>
      
      <!--<h2>Dịch vụ....</h2>
            <a href="http://dssfs">Shop Hùng Thảo</a>-->
   </div>
   <?php endif ?>
</div>
<?php endif; ?>